package com.vcc.service.client.dto.cardholder;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Data
@Getter
@Setter
public class UpdateCardholderDto implements Serializable {

    private Long id;

    @NotBlank(message = "持卡人姓不能为空")
    private String firstName;

    @NotBlank(message = "持卡人名不能为空")
    private String lastName;

    @NotBlank(message = "国家/地区不能为空")
    private String country;

    @NotBlank(message = "省份不能为空")
    private String province;

    @NotBlank(message = "城市不能为空")
    private String city;

//    @NotBlank(message = "地区不能为空")
    private String area;

    @NotBlank(message = "邮政编码不能为空")
    private String postCode;

    @NotBlank(message = "地址不能为空")
    private String address;

    @NotBlank(message = "手机号码不能为空")
    private String phone;


    private String remark;

    @NotBlank(message = "生日不能为空")
    private String birthday;

    @NotBlank(message = "手机前缀不能为空")
    private String mobilePrefix;
}
